package com.sky.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiParam;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@ApiModel("员工分页查询DTO")
@Data
public class EmployeePageQueryDTO implements Serializable {

    //员工姓名
    private String name;

    @ApiModelProperty(value = "页码", required = true)
    @NotBlank()
    //页码
    private int page;

    @ApiModelProperty(value = "每页记录数", required = true)
    @NotBlank()
    //每页显示记录数
    private int pageSize;


}
